package com.qf.ssm.entity.promotion;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
public class BuildSekill implements Serializable {
    private Integer ssId;

    private Integer ssJointUserId;

    /**
     * 活动名称
     */
    private String saName;

    /**
     * 活动规则名
     */
    private String ssName;

    /**
     * 活动状态
     */
    private Integer saState;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String saStartTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String saEndTime;

    /**
     * 限购字段
     */
    private Integer ssLimitPurchase;

    private Integer ssLimitNumber;

    /**
     * 订单取消时间
     */
    private Integer ssCancelTime;

    /**
     * 秒杀预约字段
     */
    private Integer ssAppointment;

    /**
     * 秒杀预约开始前字段
     */
    private Integer ssAppointmentTime;

}
